<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <title>今日头疼</title>
  <link href="/public/css/bootstrap.min.css" rel="stylesheet">
</head>

<body>

  </nav>
  <div class="container-fluid">
    <div class="row">
      <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
        <h2 class="sub-header">注册用户</h2>
        <form action="/add" method="post">
          <div class="form-group">
            <label for="">姓名</label>
            <input type="text" class="form-control" id="" name="name" required minlength="2" maxlength="10">
          </div>
		   <div class="form-group">
            <label for="">电话</label>
            <input class="form-control" type="number" id="" name="phone" required >
          </div>
          <div class="form-group">
            <label for="">密码</label>
            <input type="text" class="form-control" id="" name="password" required minlength="2" maxlength="10">
          </div>

          <button type="submit" class="btn btn-default">注册</button>

        </form>
      </div>
    </div>
  </div>
</body>

</html>
